package com.siwei.mes.mapper.laboratory;

import com.siwei.mes.common.dataSource.DataSource;
import com.siwei.mes.common.dataSource.DataSourceNames;
import com.siwei.mes.entity.laboratory.fly.DataFlyAdx;
import com.siwei.mes.entity.laboratory.fly.DataFlyHsl;
import com.siwei.mes.entity.laboratory.fly.DataFlyXd;
import com.siwei.mes.entity.laboratory.fly.DataFlyXslb;
import com.siwei.mes.entity.laboratory.slag.DataSlagHsl;
import com.siwei.mes.entity.laboratory.slag.DataSlagLddb;
import com.siwei.mes.entity.laboratory.slag.DataSlagMd;
import com.siwei.mes.entity.laboratory.slag.DataSlagSsl;
import org.apache.ibatis.annotations.Param;

import java.util.Map;


public interface SlagLaboratoryMapper {

    //根据样品编码查询矿渣粉密度
    @DataSource(DataSourceNames.LABORATORY)
    public Map<String, Object> findDATA_YCL_KF_MDBySampleNo(@Param("sampleNo") String sampleNo);

    //新增矿渣粉密度
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_YCL_KF_MD(DataSlagMd dataSlagMd);

    //修改矿渣粉密度
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_YCL_KF_MD(DataSlagMd dataSlagMd);



    //根据样品编码查询矿渣粉烧失量
    @DataSource(DataSourceNames.LABORATORY)
    public Map<String, Object> findDATA_YCL_KF_SSLBySampleNo(@Param("sampleNo") String sampleNo);

    //新增矿渣粉烧失量
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_YCL_KF_SSL(DataSlagSsl dataSlagSsl);

    //修改矿渣粉烧失量
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_YCL_KF_SSL(DataSlagSsl dataSlagSsl);



    //根据样品编码查询矿渣粉流动度比
    @DataSource(DataSourceNames.LABORATORY)
    public Map<String, Object> findDATA_YCL_KF_LDDBBySampleNo(@Param("sampleNo") String sampleNo);

    //新增矿渣粉流动度比
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_YCL_KF_LDDB(DataSlagLddb dataSlagLddb);

    //修改矿渣粉流动度比
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_YCL_KF_LDDB(DataSlagLddb dataSlagLddb);



    //根据样品编码查询矿渣粉含水率
    @DataSource(DataSourceNames.LABORATORY)
    public Map<String, Object> findDATA_YCL_KF_HSLBySampleNo(@Param("sampleNo") String sampleNo);

    //新增矿渣粉含水率
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_YCL_KF_HSL(DataSlagHsl dataSlagHsl);

    //修改矿渣粉含水率
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_YCL_KF_HSL(DataSlagHsl dataSlagHsl);
}
